package com.zjs.express.controller;

import com.zjs.express.common.ResultModel;
import com.zjs.express.mvc.annotation.RequestMapping;
import com.zjs.express.mvc.annotation.ResponseBody;
import com.zjs.express.service.ConsoleService;
import com.zjs.express.service.impl.ConsoleServiceImpl;

/**
 * 控制台控制器
 */
public class ConsoleController {
    private ConsoleService consoleService = new ConsoleServiceImpl();

    @RequestMapping("/admin/views/statistics.do")
    @ResponseBody
    public ResultModel statistics() {
        return consoleService.statistics();
    }

}
